package com.nightpiter.view.graphics.factories;

import com.nightpiter.view.graphics.abstaractions.AbstractBitmap;
import com.nightpiter.view.graphics.abstaractions.AbstractCanvas;

public abstract class CanvasFactory {

	private static CanvasFactory factory;

	public static CanvasFactory getFactory() {
		return factory;
	}

	public static void setFactory(CanvasFactory factory) {
		CanvasFactory.factory = factory;
	}

	public abstract AbstractCanvas create();

	public abstract AbstractCanvas create(AbstractBitmap bitmap);

}
